<nav class="navbar navbar-default navbar-static-top x_navbar" role="navigation">
    <div class="container ">
        <div class="navbar-header">
            <a class="navbar-brand" >X-MAI.COM</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <?php
                ui_navbar($modules,active);
                ?>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <form class="navbar-form navbar-left" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="关键字">
                    </div>
                    <button type="submit" class="btn btn-info">查询</button>
                    <button type="button" class="btn btn-success">登入</button>
                </form>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>